<?php 
    $product_category = $this->requestAction('elements/get_product_category');
    $news_category = $this->requestAction('elements/get_news_category');
?>
<ul class="wd-dropdownMenu">
	<li><a class="wd-current" href="<?php echo $html->url('/home'); ?>"><?php echo __("Trang chủ"); ?></a></li>
	<li><a href="<?php echo $html->url(array('plugin' => 'static_pages','controller' => 'static_pages','action' => 'view','ve-qat-group')); ?>"><?php __("Về QAT GROUP"); ?></a></li>
	<li><a href="#"><?php echo __("Sản phẩm"); ?></a>
            <?php if(! empty($product_category) ): ?>
            <ul class="wd-categorymenu">
                        <?php foreach($product_category as $cat): ?>
			<li><a href="<?php echo $html->url(array('plugin' => 'products','controller' => 'products','action' => 'listproducts',$cat['ProductCategory']['alias'])) ?>"><?php echo $cat['ProductCategory']['name'] ?></a></li>
			<?php endforeach;?>
            </ul>
             <?php endif;?>
        </li>
	<li>
		<a href="#"><?php echo __("Tin tức"); ?></a>
		<?php if(! empty($news_category) ): ?>
                <ul class="wd-categorymenu">
                            <?php foreach($news_category as $cat): ?>
                            <li><a href="<?php echo $html->url(array('plugin' => 'news','controller' => 'news','action' => 'listnews',$cat['NewsCategory']['alias'])) ?>"><?php echo $cat['NewsCategory']['name'] ?></a></li>
                            <?php endforeach;?>
                </ul>
                <?php endif;?>
	</li>
	<li class="empty"></li>
	<li><a href="<?php echo $html->url(array('plugin' => 'static_pages','controller' => 'static_pages','action' => 'view','ve-da-muoi')); ?>"><?php echo __("Về đá muối"); ?></a></li>
	<li><a href="<?php echo $html->url(array('plugin' => 'features','controller' => 'features','action' => 'index')) ?>"><?php echo __("Công năng"); ?></a></li>
	<li><a href="<?php echo $html->url(array('plugin' => 'sciences','controller' => 'sciences','action' => 'index')) ?>"><?php echo __("Luận khoa học"); ?></a></li>
	<li><a href="<?php echo $html->url('/contact_us'); ?>"><?php echo __("Liên hệ"); ?></a></li>
</ul>
